using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsQuoteTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Quote"; 

		public const string C_QUOTEID = "QUOTEID";
		public const string C_BILLDATE = "BILLDATE";
		public const string C_CUSTOMERID = "CUSTOMERID";
		public const string C_CONTACTNAME = "CONTACTNAME";
		public const string C_MOBILE = "MOBILE";
		public const string C_SENDCUSTOMERID = "SENDCUSTOMERID";
		public const string C_SENDCONTACTNAME = "SENDCONTACTNAME";
		public const string C_SENDMOBILE = "SENDMOBILE";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_ISTAX = "ISTAX";
		public const string C_TAXRATE = "TAXRATE";
		public const string C_STATUS = "STATUS";
		public const string C_CREATEDATE = "CREATEDATE";
		public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";
		public const string C_CREATEUSERID = "CREATEUSERID";
		public const string C_CREATEUSERNAME = "CREATEUSERNAME";
		public const string C_MODIFYDATE = "MODIFYDATE";
		public const string C_MODIFYUSERID = "MODIFYUSERID";
				
		public BsQuoteTable()
		{
			_tableName ="Bs_Quote";
		}

		protected static BsQuoteTable _current;

		public static BsQuoteTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsQuoteTable();

			_current.Add(C_QUOTEID, new ColumnInfo(C_QUOTEID, "", true, typeof(String)));
			_current.Add(C_BILLDATE, new ColumnInfo(C_BILLDATE, "", false, typeof(DateTime?)));
			_current.Add(C_CUSTOMERID, new ColumnInfo(C_CUSTOMERID, "", false, typeof(String)));
			_current.Add(C_CONTACTNAME, new ColumnInfo(C_CONTACTNAME, "", false, typeof(String)));
			_current.Add(C_MOBILE, new ColumnInfo(C_MOBILE, "", false, typeof(String)));
			_current.Add(C_SENDCUSTOMERID, new ColumnInfo(C_SENDCUSTOMERID, "", false, typeof(String)));
			_current.Add(C_SENDCONTACTNAME, new ColumnInfo(C_SENDCONTACTNAME, "", false, typeof(String)));
			_current.Add(C_SENDMOBILE, new ColumnInfo(C_SENDMOBILE, "", false, typeof(String)));
			_current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY, "", false, typeof(String)));
			_current.Add(C_ISTAX, new ColumnInfo(C_ISTAX, "", false, typeof(String)));
			_current.Add(C_TAXRATE, new ColumnInfo(C_TAXRATE, "", false, typeof(Decimal?)));
			_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));
			_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));
			_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));
			_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));
			_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));
			_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));
			_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));
						
		}

		public ColumnInfo QUOTEID
		{
			get { return this[C_QUOTEID];}
		}

		public ColumnInfo BILLDATE
		{
			get { return this[C_BILLDATE];}
		}

		public ColumnInfo CUSTOMERID
		{
			get { return this[C_CUSTOMERID];}
		}

		public ColumnInfo CONTACTNAME
		{
			get { return this[C_CONTACTNAME];}
		}

		public ColumnInfo MOBILE
		{
			get { return this[C_MOBILE];}
		}

		public ColumnInfo SENDCUSTOMERID
		{
			get { return this[C_SENDCUSTOMERID];}
		}

		public ColumnInfo SENDCONTACTNAME
		{
			get { return this[C_SENDCONTACTNAME];}
		}

		public ColumnInfo SENDMOBILE
		{
			get { return this[C_SENDMOBILE];}
		}

		public ColumnInfo CURRENCY
		{
			get { return this[C_CURRENCY];}
		}

		public ColumnInfo ISTAX
		{
			get { return this[C_ISTAX];}
		}

		public ColumnInfo TAXRATE
		{
			get { return this[C_TAXRATE];}
		}

		public ColumnInfo STATUS
		{
			get { return this[C_STATUS];}
		}

		public ColumnInfo CREATEDATE
		{
			get { return this[C_CREATEDATE];}
		}

		public ColumnInfo MODIFYUSERNAME
		{
			get { return this[C_MODIFYUSERNAME];}
		}

		public ColumnInfo CREATEUSERID
		{
			get { return this[C_CREATEUSERID];}
		}

		public ColumnInfo CREATEUSERNAME
		{
			get { return this[C_CREATEUSERNAME];}
		}

		public ColumnInfo MODIFYDATE
		{
			get { return this[C_MODIFYDATE];}
		}

		public ColumnInfo MODIFYUSERID
		{
			get { return this[C_MODIFYUSERID];}
		}

		
	}
}



